package com.java.dao;

import com.java.pojo.Bank2;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 记账
 */
public interface Bank2Mapper {
    //添加
    int addBank2(Bank2 bank2);
    //删除
    int delBank2(@Param("good") String g,@Param("forname") String s);

    //根据good查询
    Bank2 getBank2ByGood(@Param("good") String g);

    //查询所以
    List<Bank2> getBank2List();

    //查询所以money
    Double getCountMoney();
}
